PCIe driver using WDF: Cannot access memory value
I am writing a PCIe driver using WDF, but I'm having trouble accessing memory values. Specifically, when I use MmMapIoSpaceEx to map Bar0 memory space to a virtual address with continuous length, I cannot read or write values to memory. The device has…
How to use DrvDeviceCapabilities in winddiui.h (WITH winspool.lib added but LNK2019 unresolved external symbol STILL occured )
Function DrvDeviceCapabilities(winddiui.h) should be used if I want to identify a printer's color capability according to this link. But there is always a link error (LNK2019 unresolved external symbol ) though I added winspool.lib to Library Directories…
SDV Deprecation Announcement
Hello Windows driver developer community. I’m part of the Windows Driver Kit (WDK) team here at Microsoft. I wanted to give an update on our static analysis strategy for drivers. As most of you know, we’ve supported three different code analysis tools…
Device Manager does not show 'Bus Reported Device Description'
Hi, i need the device description for my APP, but unfortunately appropriate API calls does not return anything and by investigating the device manager it does not show up either. I am searching the USB enumeration list until the correct vid pid and a…
Is there a DxgkDdi interface can be triggered by pressing keys?
I am developing a display driver, and I want to manually call the kernel function during gpuhang, instead of waiting until the system times out to call it automatically. I would like to ask if dxgkddi has a similar interface, which can be manually…
How to Setup the Microsoft IPP Driver for the printer support app.?
Hi, I am trying to develop the PSA application with Microsoft IPP Driver can you guide me in setting up the Driver for the printer. PSA extensions: <Extensions> <printsupport:Extension Category="windows.printSupportWorkflow"…
[HLK] All test items failed at "Configure Crash dump event log setting" since cmd te.exe failed.
Dear Microsoft QA team, I am currently conducting HLK testing for a newly developed Windows 11 driver. The testing environment is newly deployed. However, all test items are failing at the initial "Configure Crash dump event log setting" stage.…
Why RebootForDeiceRecovery step fails during HLK , DF - Concurrent Hardware And Operating System (CHAOS) Test (Development and Intergration).
Hi. I am currently in the process of HLK certifying the PCIe video capture card driver. The development environment is as follows. HLK Server OS: window server 2019 Standard Taget OS BuildNumber: Win10 1904 Drvier: KMDF 1.11 Connect Slot: PCIe…
Visual Studio 2022 : error 1296 Hardware 'Test_(01)' does not have an associated service using install section 'A9_GBD'
I upgraded my Visual Studio from 2017 to 2022, and also the SDK and WDK do the brand release. In the past with older releases I have no issue with V3 printer INF File. Now I always get an error with code 1296 Hardware 'Test_(01)' does not have an…
How to access registry items under driver service registry key path of Win11 24H2 in a WDF driver?
I am currently utilizing a Kernel Mode Driver Framework (KMDF) driver, employing the RtlQueryRegistryValues function with parameters (RTL_REGISTRY_ABSOLUTE, L"\Registry\Machine\System\CurrentControlSet\Services...") to access specific registry…
how to imporve SMB2 copy performance in win11 23H2 computer
hi : I encounter a SMB2 copy performance low problem. The test system is win11 23H2. I use a motor-comm NIC card(GigaBit) as a server, and use a Realtek NIC card(GigaBit) as a client. Then I run copy action. But I got a low performace. like…
how to imporve SMB2 copy performance in win11 23H2 computer
hi : I encounter a SMB2 copy performance low problem. The test system is win11 23H2. I use a motor-comm NIC card(GigaBit) as a server, and use a Realtke NIC card(GigaBit) as a client. Then I run copy action. But I got a low performace. like…
I want to submit ev signed file,when i submit my EV codesign,i got an issue. Does anyone know how about this?
i want to submit ev signed file,when i submit my EV codesign,i got an issue. Does anyone know how about this?
Windows driver framework(WDF): For USB2 SecurityProtocolIn command fails with USBD_STATUS_CANCELLED
Drive is enumerated in USB 2.0 speed with UAS mode using windows driver. Scenario: In the test execution, drive is remotely power-cycled and performs sequential write and read USB command execution. Test has run for close to 62 hours and after 40th…
How to add entry for DMA Remapping Policy
I am adding below line my INF: [MyServiceInstall_AddReg] HKR,Parameters,DmaRemappingCompatible,0x00010001,1 ; where 1 = opt-in I do not see "DMA Remapping policy" in my driver details in the device manager even after this change. Below is…
Windows driver framework(WDF): USB3 host stops consuming data for SCSI Read16 commands in UAS mode
I have an inhouse developed WDF based driver which can run USB SCSI commands in UAS mode in USB3 speed. Scenario: The test script queues multiple Read16 SCSI commands to the USB device and the execution runs for approx. 1hr 45min without any issues.…
Which certificate store would be used for code signing of Windows 10 Device Drivers on VS2015 using DigiCert USB Code Signing Token.
Regarding Windows device driver development, which Windows 10 Certificate Store should my company's 'DigiCert Trusted G4 Code RSA4096 SHA384 CA1' be visible in? (Using a hardware USB token) My DigiCert code signing certificate is visible in my Personal…
How to Write a printer bluetooth (hcrp) language monitor.When I use pfnReadPort, I get error code 87.pfnWritePort can be written.
flag = (*pIniPort->fn.pfnReadPort)(pIniPort->hPort, pBuffer, cbBuf, pcbRead); if (!flag) { a = GetLastError(); MyDebug("LmReadPort:error code is %d", a); }
Why can't I load drivers with HLK signatures on Windows 2008 R2?
Windows driver signature requirements 2008 R2 : Attestation (NO), HLK (YES), cross-signed certificate (YES) I can't load drivers with HLK signatures on Windows 2008 R2. fltmc load flt_drv Error: 0x80070241 Windows cannot verify the digital…
How can I change the icon of an MSI file?
Is it possible to customize the icon of an MSI file created using the WiX tool for a .NET project, rather than using the default icon suggested by the Windows system?